package com.rc.saas.mini.model.tenant;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" tenant_menu ", description=" 运营商目录表,由平台方统一设置,运营商拥有所有菜单的权限 ")
public class TenantMenu extends BaseModel{ 

    @ApiModelProperty(value = "权限ID")
    private Long tenantMenuId;
 
    @ApiModelProperty(value = "父级编号")
    private Long parentId;
 
    @ApiModelProperty(value = "权限类型: 0 目录 1 菜单 2 功能")
    private String menuType;
 
    @ApiModelProperty(value = "适合用户类型 0 运营商 1 分销商 2企业帐户 3站场管理员  默认0")
    private String userType;
 
    @ApiModelProperty(value = "运营商编码")
    private String tenantCode;
 
    @ApiModelProperty(value = "运营商对应的业务类型,如果没有开通就不显示，默认STANDARD标准版")
    private String serviceTypeCode;
 
    @ApiModelProperty(value = "分销商对应的业务类型,如代开发票PROXY_INVOICE,配合tenant_operator.open_proxy_invoice控制开关")
    private String operatorServiceTypeCode;
 
    @ApiModelProperty(value = "权限代码")
    private String menuCode;
 
    @ApiModelProperty(value = "权限名称")
    private String menuName;
 
    @ApiModelProperty(value = "排序")
    private Integer sort;
 
    @ApiModelProperty(value = "链接地址")
    private String href;
 
    @ApiModelProperty(value = "图标名称")
    private String icon;
 
    @ApiModelProperty(value = "权限码")
    private String permission;
 
    @ApiModelProperty(value = "状态 0显示 1隐藏 默认0")
    private String status;
 
    @ApiModelProperty(value = "运营商二级状态 0显示 1隐藏 默认0")
    private String initStatus;
 
    @ApiModelProperty(value = "备注信息")
    private String remarks;
 
    @ApiModelProperty(value = "null")
    private String createdBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getTenantMenuId() {
        return tenantMenuId;
    }

    public void setTenantMenuId(Long tenantMenuId) {
        this.tenantMenuId = tenantMenuId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getServiceTypeCode() {
        return serviceTypeCode;
    }

    public void setServiceTypeCode(String serviceTypeCode) {
        this.serviceTypeCode = serviceTypeCode;
    }

    public String getOperatorServiceTypeCode() {
        return operatorServiceTypeCode;
    }

    public void setOperatorServiceTypeCode(String operatorServiceTypeCode) {
        this.operatorServiceTypeCode = operatorServiceTypeCode;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInitStatus() {
        return initStatus;
    }

    public void setInitStatus(String initStatus) {
        this.initStatus = initStatus;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
